package com.ruoyi.common.handle.annotation;


import com.ruoyi.common.handle.DataAbstractHandler;
import com.ruoyi.common.handle.desensitization.Desensitization;
import com.ruoyi.common.handle.encrypt.AES;

import java.lang.annotation.*;


/**
* @Description: 实现数据加密，解密，脱敏
* @Author: JXQ
* @Date: 2022/11/21 0021
*/
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface MybatisDataProcess {
    /**
     *加密模式
     * @return
     */
    Class<? extends DataAbstractHandler> encryptionMode() default AES.class;

    /**
     *脱敏模式
     */
    Class<? extends DataAbstractHandler> desensitizationMode() default Desensitization.class;



}

